const createView=()=>{
    let markup = `

<form action="" class="form-horizontal modal-form" id="form" role="form">
 
    <div class="form-group topsecid-wrapper">
        <label for="pid" class="col-sm-2 control-label">顶级分类:</label>
        <div class="col-sm-9">
          <select name="pid" id="pid">
          </select>
        </div>
    </div>
    <div class="form-group">
        <label for="name_zh" class="col-sm-2 control-label">中文分类名:</label>
        <div class="col-sm-9">
            <input type="text" id="name_zh" name="name_zh"  class="form-control">
        </div>
    </div>
    <div class="form-group">
        <label for="name_en" class="col-sm-2 control-label">英文分类名:</label>
        <div class="col-sm-9">
            <input type="text" id="name_en" name="name_en"  class="form-control">
        </div>
    </div>
     <div class="form-group">
        <label for="desc_zh " class="col-sm-2 control-label">中文描述:</label>
        <div class="col-sm-9">
            <textarea class="form-control" rows="4" name="desc_zh" id="desc_zh"></textarea>
        </div>
    </div>
     <div class="form-group">
        <label for="desc_en " class="col-sm-2 control-label">英文描述:</label>
        <div class="col-sm-9">
            <textarea class="form-control" rows="4" name="desc_en" id="desc_en"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="sort" class="col-sm-2 control-label">排序:</label>
        <div class="col-sm-9">
            <input type="text" id="sort" name="sort" class="form-control" placeholder="数值越大越靠前" value="0">
        </div>
    </div>
    <div class="form-group">
        <div class="btn-box">
          <input type="button" class="btn btn-primary" id="submitBtn"  value="提交">
        </div>
    </div>
</form>
    `;

    return markup;

}

export{createView}